package com.hn.kiss.modules.sys.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.hn.kiss.config.aspect.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 测试
 * </p>
 *
 * @author zxy
 * @since 2020-08-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("TT")
@ApiModel(value="Tt对象", description="测试")
public class Tt implements Serializable {

    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value = "id")
    @TableId("ID")
    private String id;

    @ApiModelProperty(value = "u_name")
    @TableField("U_NAME")
    private String uName;

    @ApiModelProperty(value = "sex")
    @TableField("SEX")
    @Dict(dicCode = "SEX")
    private String sex;

    @ApiModelProperty(value = "height")
    @TableField("HEIGHT")
    @Dict(dictTable = "sys_user", dicCode = "id", dicText = "realname")
    private String height;



}
